<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
   
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('号码归属地')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area_id" data-rule="required" data-source="shopro/mobile/area/index" data-field="name" class="form-control selectpage" data-params='{"custom[status]":"1"}' name="row[area_id]" type="text" value="{$row.area_id|htmlentities}">
        </div>
    </div>
     <div class="form-group">
        <label for="c-number" class="control-label col-xs-12 col-sm-2">{:__('号码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" class="form-control" name="row[number]" type="number" value="{$row.number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否使用')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
            {foreach name="usedList" item="vo"}
            <label for="row[used]-{$key}"><input id="row[used]-{$key}" name="row[used]" type="radio" value="{$key}" {in name="key" value="$row.used"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script>
    
</script>
